html,
body {
    margin: 0;
    padding: 0;
}
ul {
    margin: 0;
    padding: 0;
}
#map {
    position: absolute;
    width: 100vw;
    height: 100vh;
}
.rambler-marker-common {
    padding: 5px !important;
    border-radius: 50%;
    background-color: #fff;
}
.rambler-popup-content .leaflet-popup-content {
    width: auto !important;
}
.leaflet-popup-content .rambler-popup-title {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.search-container {
    position: fixed;
    left: 15px;
    top: 15px;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 1px 1px 5px 1px #cdd7de;
    width: 300px;
}
.search-container .search-result {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: #fff;
    width: 100%;
    display: none;
}
.search-container .search-result li:hover {
    background-color: #eee;
}
.search-container .search-result li {
    height: 40px;
    list-style: none;
    box-sizing: border-box;
    padding: 10px 10px 10px 15px;
    font-size: 14px;
    cursor: pointer;
}
.search-container .search-btn {
    width: 50px;
}
.search-container .search-btn button {
    height: 30px;
    outline: none;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    background-color: #eee;
}
.search-container .search-btn button:hover {
    background-color: #e1dede;
}
.search-container .search-input {
    width: 100%;
    height: 45px;
}
.search-container .search-input input {
    box-sizing: border-box;
    display: block;
    outline: none;
    padding: 6px 0 6px 15px;
    width: 100%;
    border: none;
    height: 100%;
    border: 1px solid #ddd;
}
.layer-control-container {
    position: fixed;
    right: 15px;
    top: 15px;
    background-color: #fff;
    z-index: 999;
    min-width: 50px;
    min-height: 50px;
}
.layer-control-container .layer-control-layers {
    display: flex;
    flex-wrap: wrap;
}

.layer-control-container .title {
    margin-bottom: 10px;
}
.layer-control-container .control-content {
    padding: 40px 10px 10px 10px;
    display: none;
}
.layer-control-container .control-content h1 {
    font-size: 16px;
    color: #666464;
    margin: 0;
}
.layer-control-container .trace-control {
    margin-bottom: 15px;
}
.layer-control-container .trace-control button {
    border: none;
    outline: none;
    padding: 8px 15px;
    font-size: 16px;
    background-color: #eee;
    color: #333;
    cursor: pointer;
}
.layer-control-container .trace-control-content {
    display: flex;
}
.layer-control-container .trace-control-content .trace-way {
    height: 37px;
    flex: 1;
    margin-right: 25px;
}
.layer-control-container .trace-way select {
    outline: none;
    display: block;
    height: 100%;
    width: 100%;
    border-color: #ddd;
    padding-right: 3px;
}
.layer-control-container .trace-way select option {
    display: block;
    height: 30px;
    width: 100%;
}
.layer-control-container .trace-control-content .btns {
    width: 230px;
    display: flex;
    justify-content: space-between;
}
.layer-control-container .trace-control button:hover {
    background-color: #ddd;
}
.layer-control-container .layer-control-layers .form-item {
    position: relative;
    margin: 0 10px 10px 0;
    width: 70px;
    background-color: #f5f4f4;
    border-radius: 5px;
}
.layer-control-container .layer-control-layers .form-item:nth-child(5n) {
    margin-right: 0;
}
.layer-control-container .layer-control-layers .form-item .rambler-label-decoration {
    padding: 10px 0 10px 0;
    text-align: center;
    cursor: pointer;
}
.layer-control-container .layer-control-layers .form-item .rambler-label-decoration:hover {
    background-color: #ddd;
}
.layer-control-container .layer-control-layers .form-item p {
    margin: 0;
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}
.form-item .checkbox-item {
    display: none;
}
.layer-control-container .layer-control-switch {
    padding: 10px 10px 10px 10px;
    min-width: 30px;
    cursor: pointer;
    float: right;
    width: 30px;
    height: 30px;
}
.layer-control-container .layer-control-content {
    width: 390px;
}

.rambler-label .checkbox-item[checked='true'] + .rambler-label-decoration {
    background-color: #e9e6e6;
}

.layer-control-container .layer-focus {
    margin-bottom: 15px;
}
.layer-control-container .layer-focus button {
    border: none;
    outline: none;
    padding: 8px 15px;
    font-size: 16px;
    background-color: #eee;
    color: #333;
    cursor: pointer;
    margin-right: 10px;
}
.layer-control-container .layer-focus button:hover {
    background-color: #e1dede;
}
